$(document).ready(function(){
	
	$("button").click(function(){
        var form = $("#form");
        form.attr('action','/user/login');
        form.attr('method','post');
        form.submit();
    })
});

